HYPERFLEET-978 - feat: (2/2) Include routes in API for PUT status updates #135
Conversation
|
Skipping CI for Draft Pull Request. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Central YAML (base), Organization UI (inherited) Review profile: ASSERTIVE Plan: Enterprise Run ID: 📒 Files selected for processing (3)
💤 Files with no reviewable changes (1)
📝 WalkthroughSummary by CodeRabbit
WalkthroughThis pull request switches the HTTP method for cluster and nodepool adapter status reporting endpoints from POST to PUT. Two route registrations in Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Comment |
|
/retest |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pnguyen44 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
d898158
into
openshift-hyperfleet:main
Summary
Removes the POST endpoints for adapter status updates on clusters and nodepools, keeping only PUT endpoints. This simplifies the API surface by eliminating redundancy. Adapters now exclusively use PUT to report status.
Changes
plugins/clusters/plugin.gofor both cluster and nodepool statusesPutClusterStatusesandPutNodePoolStatusesinstead ofPostClusterStatusesandPostNodePoolStatusesTest Plan
make test-allpassesmake lintpassesmake generate-allJira Issue